package com.tct;

import com.yiqiniu.easytrans.EnableEasyTransaction;
import com.yiqiniu.easytrans.rpc.impl.dubbo.EnableRpcDubboImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableEasyTransaction
@EnableTransactionManagement
@EnableRpcDubboImpl
@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan(basePackages = {"com.tct.common","com.tct.config","com.tct.mapper","com.tct.service","com.tct.dubbo"})
public class BApplication {
    public static void main(String[] args) {
        SpringApplication.run(BApplication.class, args);
    }
}

